#coding:utf8
"""
工具方法和工具类
"""
import akshare as ak


def get_all_trade_days():
    tool_trade_date = ak.tool_trade_date_hist_sina()
    tmp1 = tool_trade_date['trade_date'].tolist()
    all_trade_dates = [m.strftime("%Y-%m-%d") for m in tmp1]

    return all_trade_dates